package com.ruoyi.iot.service;

import com.ruoyi.iot.vo.WeatherVO;

import java.time.Instant;
import java.util.List;

public interface WeatherService {

    List<WeatherVO> get(String sensorId, Instant startTime, Instant endTime);

    WeatherVO getNew(String sensorId);

    List<WeatherVO> getRange(String sensorId, Integer targetPoints, Instant startTime, Instant endTime);
}
